<div class="card sidebar">
    <div class="card-header">
        {{title}}
        <small>{{subtitle}}</small>
    </div>
    <div class="list-group ">
        {% for item in list %}
            <a class="list-group-item {% if item.active == 1 %}active{% endif %}" href="{{item.link}}">
            {{item.text}}
            </a>
        {% endfor %}
    </div>
</div>